package com.spring.multidb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.spring.multidb.dao.db2.UserDao;
import com.spring.multidb.model.User;
import com.spring.multidb.service.D1Service;

@Service("D1ServiceImpl")
public class D1ServiceImpl implements D1Service {
	
	@Autowired
	UserDao userDao;

	public void updateCount(Integer count) {
		
	}

	public void addUser(User user) {
		userDao.add(user);
	}
	
}
